Optimal. Leaf size=38 \[ -\frac {(b c-a d) (c+d x)^4}{4 d^2}+\frac {b (c+d x)^5}{5 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {640, 45}
\begin {gather*} \frac {b (c+d x)^5}{5 d^2}-\frac {(c+d x)^4 (b c-a d)}{4 d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 640
Rubi steps
\begin {align*} \int \frac {\left (a c+(b c+a d) x+b d x^2\right )^3}{(a+b x)^2} \, dx &=\int (a+b x) (c+d x)^3 \, dx\\ &=\int \left (\frac {(-b c+a d) (c+d x)^3}{d}+\frac {b (c+d x)^4}{d}\right ) \, dx\\ &=-\frac {(b c-a d) (c+d x)^4}{4 d^2}+\frac {b (c+d x)^5}{5 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 67, normalized size = 1.76 \begin {gather*} a c^3 x+\frac {1}{2} c^2 (b c+3 a d) x^2+c d (b c+a d) x^3+\frac {1}{4} d^2 (3 b c+a d) x^4+\frac {1}{5} b d^3 x^5 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(93\) vs.
\(2(34)=68\).
time = 0.80, size = 94, normalized size = 2.47
method | result | size |
risch | \(\frac {1}{5} b \,d^{3} x^{5}+\frac {1}{4} d^{3} a \,x^{4}+\frac {3}{4} x^{4} b c \,d^{2}+d^{2} a c \,x^{3}+b \,c^{2} d \,x^{3}+\frac {3}{2} d a \,c^{2} x^{2}+\frac {1}{2} x^{2} b \,c^{3}+a \,c^{3} x\) | \(73\) |
gosper | \(\frac {x \left (4 b \,d^{3} x^{4}+5 x^{3} a \,d^{3}+15 x^{3} b c \,d^{2}+20 a c \,d^{2} x^{2}+20 b \,c^{2} d \,x^{2}+30 x a \,c^{2} d +10 x b \,c^{3}+20 c^{3} a \right )}{20}\) | \(74\) |
default | \(\frac {b \,d^{3} x^{5}}{5}+\frac {\left (2 b c \,d^{2}+d^{2} \left (a d +b c \right )\right ) x^{4}}{4}+\frac {\left (b \,c^{2} d +2 c d \left (a d +b c \right )+a c \,d^{2}\right ) x^{3}}{3}+\frac {\left (c^{2} \left (a d +b c \right )+2 a \,c^{2} d \right ) x^{2}}{2}+a \,c^{3} x\) | \(94\) |
norman | \(\frac {\left (\frac {9}{20} a b \,d^{3}+\frac {3}{4} b^{2} c \,d^{2}\right ) x^{5}+\left (\frac {3}{2} a^{2} c^{2} d +\frac {3}{2} a b \,c^{3}\right ) x^{2}+\left (\frac {1}{4} a^{2} d^{3}+\frac {7}{4} a b c \,d^{2}+b^{2} c^{2} d \right ) x^{4}+\left (a^{2} c \,d^{2}+\frac {5}{2} a b \,c^{2} d +\frac {1}{2} b^{2} c^{3}\right ) x^{3}+a^{2} c^{3} x +\frac {b^{2} d^{3} x^{6}}{5}}{b x +a}\) | \(129\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 69 vs.
\(2 (34) = 68\).
time = 0.27, size = 69, normalized size = 1.82 \begin {gather*} \frac {1}{5} \, b d^{3} x^{5} + a c^{3} x + \frac {1}{4} \, {\left (3 \, b c d^{2} + a d^{3}\right )} x^{4} + {\left (b c^{2} d + a c d^{2}\right )} x^{3} + \frac {1}{2} \, {\left (b c^{3} + 3 \, a c^{2} d\right )} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 69 vs.
\(2 (34) = 68\).
time = 3.12, size = 69, normalized size = 1.82 \begin {gather*} \frac {1}{5} \, b d^{3} x^{5} + a c^{3} x + \frac {1}{4} \, {\left (3 \, b c d^{2} + a d^{3}\right )} x^{4} + {\left (b c^{2} d + a c d^{2}\right )} x^{3} + \frac {1}{2} \, {\left (b c^{3} + 3 \, a c^{2} d\right )} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 73 vs.
\(2 (32) = 64\).
time = 0.05, size = 73, normalized size = 1.92 \begin {gather*} a c^{3} x + \frac {b d^{3} x^{5}}{5} + x^{4} \left (\frac {a d^{3}}{4} + \frac {3 b c d^{2}}{4}\right ) + x^{3} \left (a c d^{2} + b c^{2} d\right ) + x^{2} \cdot \left (\frac {3 a c^{2} d}{2} + \frac {b c^{3}}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 155 vs.
\(2 (34) = 68\).
time = 0.83, size = 155, normalized size = 4.08 \begin {gather*} \frac {{\left (\frac {10 \, b^{3} c^{3}}{{\left (b x + a\right )}^{3}} + \frac {20 \, b^{2} c^{2} d}{{\left (b x + a\right )}^{2}} - \frac {30 \, a b^{2} c^{2} d}{{\left (b x + a\right )}^{3}} + \frac {15 \, b c d^{2}}{b x + a} - \frac {40 \, a b c d^{2}}{{\left (b x + a\right )}^{2}} + \frac {30 \, a^{2} b c d^{2}}{{\left (b x + a\right )}^{3}} - \frac {15 \, a d^{3}}{b x + a} + \frac {20 \, a^{2} d^{3}}{{\left (b x + a\right )}^{2}} - \frac {10 \, a^{3} d^{3}}{{\left (b x + a\right )}^{3}} + 4 \, d^{3}\right )} {\left (b x + a\right )}^{5}}{20 \, b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 65, normalized size = 1.71 \begin {gather*} x^2\,\left (\frac {b\,c^3}{2}+\frac {3\,a\,d\,c^2}{2}\right )+x^4\,\left (\frac {a\,d^3}{4}+\frac {3\,b\,c\,d^2}{4}\right )+\frac {b\,d^3\,x^5}{5}+a\,c^3\,x+c\,d\,x^3\,\left (a\,d+b\,c\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________